\(\int \frac {(a+b \text {arccosh}(c x))^2}{d+e x^2} \, dx\) [529]

   Optimal result
   Rubi [A] (verified)
   Mathematica [A] (verified)
   Maple [F]
   Fricas [F]
   Sympy [F]
   Maxima [F(-2)]
   Giac [F]
   Mupad [F(-1)]

Optimal result

Integrand size = 20, antiderivative size = 763 \[ \int \frac {(a+b \text {arccosh}(c x))^2}{d+e x^2} \, dx=\frac {(a+b \text {arccosh}(c x))^2 \log \left (1-\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}-\sqrt {-c^2 d-e}}\right )}{2 \sqrt {-d} \sqrt {e}}-\frac {(a+b \text {arccosh}(c x))^2 \log \left (1+\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}-\sqrt {-c^2 d-e}}\right )}{2 \sqrt {-d} \sqrt {e}}+\frac {(a+b \text {arccosh}(c x))^2 \log \left (1-\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}+\sqrt {-c^2 d-e}}\right )}{2 \sqrt {-d} \sqrt {e}}-\frac {(a+b \text {arccosh}(c x))^2 \log \left (1+\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}+\sqrt {-c^2 d-e}}\right )}{2 \sqrt {-d} \sqrt {e}}-\frac {b (a+b \text {arccosh}(c x)) \operatorname {PolyLog}\left (2,-\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}-\sqrt {-c^2 d-e}}\right )}{\sqrt {-d} \sqrt {e}}+\frac {b (a+b \text {arccosh}(c x)) \operatorname {PolyLog}\left (2,\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}-\sqrt {-c^2 d-e}}\right )}{\sqrt {-d} \sqrt {e}}-\frac {b (a+b \text {arccosh}(c x)) \operatorname {PolyLog}\left (2,-\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}+\sqrt {-c^2 d-e}}\right )}{\sqrt {-d} \sqrt {e}}+\frac {b (a+b \text {arccosh}(c x)) \operatorname {PolyLog}\left (2,\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}+\sqrt {-c^2 d-e}}\right )}{\sqrt {-d} \sqrt {e}}+\frac {b^2 \operatorname {PolyLog}\left (3,-\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}-\sqrt {-c^2 d-e}}\right )}{\sqrt {-d} \sqrt {e}}-\frac {b^2 \operatorname {PolyLog}\left (3,\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}-\sqrt {-c^2 d-e}}\right )}{\sqrt {-d} \sqrt {e}}+\frac {b^2 \operatorname {PolyLog}\left (3,-\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}+\sqrt {-c^2 d-e}}\right )}{\sqrt {-d} \sqrt {e}}-\frac {b^2 \operatorname {PolyLog}\left (3,\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}+\sqrt {-c^2 d-e}}\right )}{\sqrt {-d} \sqrt {e}} \]

[Out]

1/2*(a+b*arccosh(c*x))^2*ln(1-(c*x+(c*x-1)^(1/2)*(c*x+1)^(1/2))*e^(1/2)/(c*(-d)^(1/2)-(-c^2*d-e)^(1/2)))/(-d)^
(1/2)/e^(1/2)-1/2*(a+b*arccosh(c*x))^2*ln(1+(c*x+(c*x-1)^(1/2)*(c*x+1)^(1/2))*e^(1/2)/(c*(-d)^(1/2)-(-c^2*d-e)
^(1/2)))/(-d)^(1/2)/e^(1/2)+1/2*(a+b*arccosh(c*x))^2*ln(1-(c*x+(c*x-1)^(1/2)*(c*x+1)^(1/2))*e^(1/2)/(c*(-d)^(1
/2)+(-c^2*d-e)^(1/2)))/(-d)^(1/2)/e^(1/2)-1/2*(a+b*arccosh(c*x))^2*ln(1+(c*x+(c*x-1)^(1/2)*(c*x+1)^(1/2))*e^(1
/2)/(c*(-d)^(1/2)+(-c^2*d-e)^(1/2)))/(-d)^(1/2)/e^(1/2)-b*(a+b*arccosh(c*x))*polylog(2,-(c*x+(c*x-1)^(1/2)*(c*
x+1)^(1/2))*e^(1/2)/(c*(-d)^(1/2)-(-c^2*d-e)^(1/2)))/(-d)^(1/2)/e^(1/2)+b*(a+b*arccosh(c*x))*polylog(2,(c*x+(c
*x-1)^(1/2)*(c*x+1)^(1/2))*e^(1/2)/(c*(-d)^(1/2)-(-c^2*d-e)^(1/2)))/(-d)^(1/2)/e^(1/2)-b*(a+b*arccosh(c*x))*po
lylog(2,-(c*x+(c*x-1)^(1/2)*(c*x+1)^(1/2))*e^(1/2)/(c*(-d)^(1/2)+(-c^2*d-e)^(1/2)))/(-d)^(1/2)/e^(1/2)+b*(a+b*
arccosh(c*x))*polylog(2,(c*x+(c*x-1)^(1/2)*(c*x+1)^(1/2))*e^(1/2)/(c*(-d)^(1/2)+(-c^2*d-e)^(1/2)))/(-d)^(1/2)/
e^(1/2)+b^2*polylog(3,-(c*x+(c*x-1)^(1/2)*(c*x+1)^(1/2))*e^(1/2)/(c*(-d)^(1/2)-(-c^2*d-e)^(1/2)))/(-d)^(1/2)/e
^(1/2)-b^2*polylog(3,(c*x+(c*x-1)^(1/2)*(c*x+1)^(1/2))*e^(1/2)/(c*(-d)^(1/2)-(-c^2*d-e)^(1/2)))/(-d)^(1/2)/e^(
1/2)+b^2*polylog(3,-(c*x+(c*x-1)^(1/2)*(c*x+1)^(1/2))*e^(1/2)/(c*(-d)^(1/2)+(-c^2*d-e)^(1/2)))/(-d)^(1/2)/e^(1
/2)-b^2*polylog(3,(c*x+(c*x-1)^(1/2)*(c*x+1)^(1/2))*e^(1/2)/(c*(-d)^(1/2)+(-c^2*d-e)^(1/2)))/(-d)^(1/2)/e^(1/2
)

Rubi [A] (verified)

Time = 0.90 (sec) , antiderivative size = 763, normalized size of antiderivative = 1.00, number of steps used = 22, number of rules used = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.350, Rules used = {5909, 5962, 5681, 2221, 2611, 2320, 6724} \[ \int \frac {(a+b \text {arccosh}(c x))^2}{d+e x^2} \, dx=-\frac {b (a+b \text {arccosh}(c x)) \operatorname {PolyLog}\left (2,-\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}-\sqrt {-d c^2-e}}\right )}{\sqrt {-d} \sqrt {e}}+\frac {b (a+b \text {arccosh}(c x)) \operatorname {PolyLog}\left (2,\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}-\sqrt {-d c^2-e}}\right )}{\sqrt {-d} \sqrt {e}}-\frac {b (a+b \text {arccosh}(c x)) \operatorname {PolyLog}\left (2,-\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{\sqrt {-d} c+\sqrt {-d c^2-e}}\right )}{\sqrt {-d} \sqrt {e}}+\frac {b (a+b \text {arccosh}(c x)) \operatorname {PolyLog}\left (2,\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{\sqrt {-d} c+\sqrt {-d c^2-e}}\right )}{\sqrt {-d} \sqrt {e}}+\frac {(a+b \text {arccosh}(c x))^2 \log \left (1-\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}-\sqrt {c^2 (-d)-e}}\right )}{2 \sqrt {-d} \sqrt {e}}-\frac {(a+b \text {arccosh}(c x))^2 \log \left (\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}-\sqrt {c^2 (-d)-e}}+1\right )}{2 \sqrt {-d} \sqrt {e}}+\frac {(a+b \text {arccosh}(c x))^2 \log \left (1-\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{\sqrt {c^2 (-d)-e}+c \sqrt {-d}}\right )}{2 \sqrt {-d} \sqrt {e}}-\frac {(a+b \text {arccosh}(c x))^2 \log \left (\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{\sqrt {c^2 (-d)-e}+c \sqrt {-d}}+1\right )}{2 \sqrt {-d} \sqrt {e}}+\frac {b^2 \operatorname {PolyLog}\left (3,-\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}-\sqrt {-d c^2-e}}\right )}{\sqrt {-d} \sqrt {e}}-\frac {b^2 \operatorname {PolyLog}\left (3,\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}-\sqrt {-d c^2-e}}\right )}{\sqrt {-d} \sqrt {e}}+\frac {b^2 \operatorname {PolyLog}\left (3,-\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{\sqrt {-d} c+\sqrt {-d c^2-e}}\right )}{\sqrt {-d} \sqrt {e}}-\frac {b^2 \operatorname {PolyLog}\left (3,\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{\sqrt {-d} c+\sqrt {-d c^2-e}}\right )}{\sqrt {-d} \sqrt {e}} \]

[In]

Int[(a + b*ArcCosh[c*x])^2/(d + e*x^2),x]

[Out]

((a + b*ArcCosh[c*x])^2*Log[1 - (Sqrt[e]*E^ArcCosh[c*x])/(c*Sqrt[-d] - Sqrt[-(c^2*d) - e])])/(2*Sqrt[-d]*Sqrt[
e]) - ((a + b*ArcCosh[c*x])^2*Log[1 + (Sqrt[e]*E^ArcCosh[c*x])/(c*Sqrt[-d] - Sqrt[-(c^2*d) - e])])/(2*Sqrt[-d]
*Sqrt[e]) + ((a + b*ArcCosh[c*x])^2*Log[1 - (Sqrt[e]*E^ArcCosh[c*x])/(c*Sqrt[-d] + Sqrt[-(c^2*d) - e])])/(2*Sq
rt[-d]*Sqrt[e]) - ((a + b*ArcCosh[c*x])^2*Log[1 + (Sqrt[e]*E^ArcCosh[c*x])/(c*Sqrt[-d] + Sqrt[-(c^2*d) - e])])
/(2*Sqrt[-d]*Sqrt[e]) - (b*(a + b*ArcCosh[c*x])*PolyLog[2, -((Sqrt[e]*E^ArcCosh[c*x])/(c*Sqrt[-d] - Sqrt[-(c^2
*d) - e]))])/(Sqrt[-d]*Sqrt[e]) + (b*(a + b*ArcCosh[c*x])*PolyLog[2, (Sqrt[e]*E^ArcCosh[c*x])/(c*Sqrt[-d] - Sq
rt[-(c^2*d) - e])])/(Sqrt[-d]*Sqrt[e]) - (b*(a + b*ArcCosh[c*x])*PolyLog[2, -((Sqrt[e]*E^ArcCosh[c*x])/(c*Sqrt
[-d] + Sqrt[-(c^2*d) - e]))])/(Sqrt[-d]*Sqrt[e]) + (b*(a + b*ArcCosh[c*x])*PolyLog[2, (Sqrt[e]*E^ArcCosh[c*x])
/(c*Sqrt[-d] + Sqrt[-(c^2*d) - e])])/(Sqrt[-d]*Sqrt[e]) + (b^2*PolyLog[3, -((Sqrt[e]*E^ArcCosh[c*x])/(c*Sqrt[-
d] - Sqrt[-(c^2*d) - e]))])/(Sqrt[-d]*Sqrt[e]) - (b^2*PolyLog[3, (Sqrt[e]*E^ArcCosh[c*x])/(c*Sqrt[-d] - Sqrt[-
(c^2*d) - e])])/(Sqrt[-d]*Sqrt[e]) + (b^2*PolyLog[3, -((Sqrt[e]*E^ArcCosh[c*x])/(c*Sqrt[-d] + Sqrt[-(c^2*d) -
e]))])/(Sqrt[-d]*Sqrt[e]) - (b^2*PolyLog[3, (Sqrt[e]*E^ArcCosh[c*x])/(c*Sqrt[-d] + Sqrt[-(c^2*d) - e])])/(Sqrt
[-d]*Sqrt[e])

Rule 2221

Int[(((F_)^((g_.)*((e_.) + (f_.)*(x_))))^(n_.)*((c_.) + (d_.)*(x_))^(m_.))/((a_) + (b_.)*((F_)^((g_.)*((e_.) +
 (f_.)*(x_))))^(n_.)), x_Symbol] :> Simp[((c + d*x)^m/(b*f*g*n*Log[F]))*Log[1 + b*((F^(g*(e + f*x)))^n/a)], x]
 - Dist[d*(m/(b*f*g*n*Log[F])), Int[(c + d*x)^(m - 1)*Log[1 + b*((F^(g*(e + f*x)))^n/a)], x], x] /; FreeQ[{F,
a, b, c, d, e, f, g, n}, x] && IGtQ[m, 0]

Rule 2320

Int[u_, x_Symbol] :> With[{v = FunctionOfExponential[u, x]}, Dist[v/D[v, x], Subst[Int[FunctionOfExponentialFu
nction[u, x]/x, x], x, v], x]] /; FunctionOfExponentialQ[u, x] &&  !MatchQ[u, (w_)*((a_.)*(v_)^(n_))^(m_) /; F
reeQ[{a, m, n}, x] && IntegerQ[m*n]] &&  !MatchQ[u, E^((c_.)*((a_.) + (b_.)*x))*(F_)[v_] /; FreeQ[{a, b, c}, x
] && InverseFunctionQ[F[x]]]

Rule 2611

Int[Log[1 + (e_.)*((F_)^((c_.)*((a_.) + (b_.)*(x_))))^(n_.)]*((f_.) + (g_.)*(x_))^(m_.), x_Symbol] :> Simp[(-(
f + g*x)^m)*(PolyLog[2, (-e)*(F^(c*(a + b*x)))^n]/(b*c*n*Log[F])), x] + Dist[g*(m/(b*c*n*Log[F])), Int[(f + g*
x)^(m - 1)*PolyLog[2, (-e)*(F^(c*(a + b*x)))^n], x], x] /; FreeQ[{F, a, b, c, e, f, g, n}, x] && GtQ[m, 0]

Rule 5681

Int[(((e_.) + (f_.)*(x_))^(m_.)*Sinh[(c_.) + (d_.)*(x_)])/(Cosh[(c_.) + (d_.)*(x_)]*(b_.) + (a_)), x_Symbol] :
> Simp[-(e + f*x)^(m + 1)/(b*f*(m + 1)), x] + (Int[(e + f*x)^m*(E^(c + d*x)/(a - Rt[a^2 - b^2, 2] + b*E^(c + d
*x))), x] + Int[(e + f*x)^m*(E^(c + d*x)/(a + Rt[a^2 - b^2, 2] + b*E^(c + d*x))), x]) /; FreeQ[{a, b, c, d, e,
 f}, x] && IGtQ[m, 0] && NeQ[a^2 - b^2, 0]

Rule 5909

Int[((a_.) + ArcCosh[(c_.)*(x_)]*(b_.))^(n_.)*((d_) + (e_.)*(x_)^2)^(p_.), x_Symbol] :> Int[ExpandIntegrand[(a
 + b*ArcCosh[c*x])^n, (d + e*x^2)^p, x], x] /; FreeQ[{a, b, c, d, e, n}, x] && NeQ[c^2*d + e, 0] && IntegerQ[p
] && (p > 0 || IGtQ[n, 0])

Rule 5962

Int[((a_.) + ArcCosh[(c_.)*(x_)]*(b_.))^(n_.)/((d_.) + (e_.)*(x_)), x_Symbol] :> Subst[Int[(a + b*x)^n*(Sinh[x
]/(c*d + e*Cosh[x])), x], x, ArcCosh[c*x]] /; FreeQ[{a, b, c, d, e}, x] && IGtQ[n, 0]

Rule 6724

Int[PolyLog[n_, (c_.)*((a_.) + (b_.)*(x_))^(p_.)]/((d_.) + (e_.)*(x_)), x_Symbol] :> Simp[PolyLog[n + 1, c*(a
+ b*x)^p]/(e*p), x] /; FreeQ[{a, b, c, d, e, n, p}, x] && EqQ[b*d, a*e]

Rubi steps \begin{align*} \text {integral}& = \int \left (\frac {\sqrt {-d} (a+b \text {arccosh}(c x))^2}{2 d \left (\sqrt {-d}-\sqrt {e} x\right )}+\frac {\sqrt {-d} (a+b \text {arccosh}(c x))^2}{2 d \left (\sqrt {-d}+\sqrt {e} x\right )}\right ) \, dx \\ & = -\frac {\int \frac {(a+b \text {arccosh}(c x))^2}{\sqrt {-d}-\sqrt {e} x} \, dx}{2 \sqrt {-d}}-\frac {\int \frac {(a+b \text {arccosh}(c x))^2}{\sqrt {-d}+\sqrt {e} x} \, dx}{2 \sqrt {-d}} \\ & = -\frac {\text {Subst}\left (\int \frac {(a+b x)^2 \sinh (x)}{c \sqrt {-d}-\sqrt {e} \cosh (x)} \, dx,x,\text {arccosh}(c x)\right )}{2 \sqrt {-d}}-\frac {\text {Subst}\left (\int \frac {(a+b x)^2 \sinh (x)}{c \sqrt {-d}+\sqrt {e} \cosh (x)} \, dx,x,\text {arccosh}(c x)\right )}{2 \sqrt {-d}} \\ & = -\frac {\text {Subst}\left (\int \frac {e^x (a+b x)^2}{c \sqrt {-d}-\sqrt {-c^2 d-e}-\sqrt {e} e^x} \, dx,x,\text {arccosh}(c x)\right )}{2 \sqrt {-d}}-\frac {\text {Subst}\left (\int \frac {e^x (a+b x)^2}{c \sqrt {-d}+\sqrt {-c^2 d-e}-\sqrt {e} e^x} \, dx,x,\text {arccosh}(c x)\right )}{2 \sqrt {-d}}-\frac {\text {Subst}\left (\int \frac {e^x (a+b x)^2}{c \sqrt {-d}-\sqrt {-c^2 d-e}+\sqrt {e} e^x} \, dx,x,\text {arccosh}(c x)\right )}{2 \sqrt {-d}}-\frac {\text {Subst}\left (\int \frac {e^x (a+b x)^2}{c \sqrt {-d}+\sqrt {-c^2 d-e}+\sqrt {e} e^x} \, dx,x,\text {arccosh}(c x)\right )}{2 \sqrt {-d}} \\ & = \frac {(a+b \text {arccosh}(c x))^2 \log \left (1-\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}-\sqrt {-c^2 d-e}}\right )}{2 \sqrt {-d} \sqrt {e}}-\frac {(a+b \text {arccosh}(c x))^2 \log \left (1+\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}-\sqrt {-c^2 d-e}}\right )}{2 \sqrt {-d} \sqrt {e}}+\frac {(a+b \text {arccosh}(c x))^2 \log \left (1-\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}+\sqrt {-c^2 d-e}}\right )}{2 \sqrt {-d} \sqrt {e}}-\frac {(a+b \text {arccosh}(c x))^2 \log \left (1+\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}+\sqrt {-c^2 d-e}}\right )}{2 \sqrt {-d} \sqrt {e}}-\frac {b \text {Subst}\left (\int (a+b x) \log \left (1-\frac {\sqrt {e} e^x}{c \sqrt {-d}-\sqrt {-c^2 d-e}}\right ) \, dx,x,\text {arccosh}(c x)\right )}{\sqrt {-d} \sqrt {e}}+\frac {b \text {Subst}\left (\int (a+b x) \log \left (1+\frac {\sqrt {e} e^x}{c \sqrt {-d}-\sqrt {-c^2 d-e}}\right ) \, dx,x,\text {arccosh}(c x)\right )}{\sqrt {-d} \sqrt {e}}-\frac {b \text {Subst}\left (\int (a+b x) \log \left (1-\frac {\sqrt {e} e^x}{c \sqrt {-d}+\sqrt {-c^2 d-e}}\right ) \, dx,x,\text {arccosh}(c x)\right )}{\sqrt {-d} \sqrt {e}}+\frac {b \text {Subst}\left (\int (a+b x) \log \left (1+\frac {\sqrt {e} e^x}{c \sqrt {-d}+\sqrt {-c^2 d-e}}\right ) \, dx,x,\text {arccosh}(c x)\right )}{\sqrt {-d} \sqrt {e}} \\ & = \frac {(a+b \text {arccosh}(c x))^2 \log \left (1-\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}-\sqrt {-c^2 d-e}}\right )}{2 \sqrt {-d} \sqrt {e}}-\frac {(a+b \text {arccosh}(c x))^2 \log \left (1+\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}-\sqrt {-c^2 d-e}}\right )}{2 \sqrt {-d} \sqrt {e}}+\frac {(a+b \text {arccosh}(c x))^2 \log \left (1-\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}+\sqrt {-c^2 d-e}}\right )}{2 \sqrt {-d} \sqrt {e}}-\frac {(a+b \text {arccosh}(c x))^2 \log \left (1+\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}+\sqrt {-c^2 d-e}}\right )}{2 \sqrt {-d} \sqrt {e}}-\frac {b (a+b \text {arccosh}(c x)) \operatorname {PolyLog}\left (2,-\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}-\sqrt {-c^2 d-e}}\right )}{\sqrt {-d} \sqrt {e}}+\frac {b (a+b \text {arccosh}(c x)) \operatorname {PolyLog}\left (2,\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}-\sqrt {-c^2 d-e}}\right )}{\sqrt {-d} \sqrt {e}}-\frac {b (a+b \text {arccosh}(c x)) \operatorname {PolyLog}\left (2,-\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}+\sqrt {-c^2 d-e}}\right )}{\sqrt {-d} \sqrt {e}}+\frac {b (a+b \text {arccosh}(c x)) \operatorname {PolyLog}\left (2,\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}+\sqrt {-c^2 d-e}}\right )}{\sqrt {-d} \sqrt {e}}+\frac {b^2 \text {Subst}\left (\int \operatorname {PolyLog}\left (2,-\frac {\sqrt {e} e^x}{c \sqrt {-d}-\sqrt {-c^2 d-e}}\right ) \, dx,x,\text {arccosh}(c x)\right )}{\sqrt {-d} \sqrt {e}}-\frac {b^2 \text {Subst}\left (\int \operatorname {PolyLog}\left (2,\frac {\sqrt {e} e^x}{c \sqrt {-d}-\sqrt {-c^2 d-e}}\right ) \, dx,x,\text {arccosh}(c x)\right )}{\sqrt {-d} \sqrt {e}}+\frac {b^2 \text {Subst}\left (\int \operatorname {PolyLog}\left (2,-\frac {\sqrt {e} e^x}{c \sqrt {-d}+\sqrt {-c^2 d-e}}\right ) \, dx,x,\text {arccosh}(c x)\right )}{\sqrt {-d} \sqrt {e}}-\frac {b^2 \text {Subst}\left (\int \operatorname {PolyLog}\left (2,\frac {\sqrt {e} e^x}{c \sqrt {-d}+\sqrt {-c^2 d-e}}\right ) \, dx,x,\text {arccosh}(c x)\right )}{\sqrt {-d} \sqrt {e}} \\ & = \frac {(a+b \text {arccosh}(c x))^2 \log \left (1-\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}-\sqrt {-c^2 d-e}}\right )}{2 \sqrt {-d} \sqrt {e}}-\frac {(a+b \text {arccosh}(c x))^2 \log \left (1+\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}-\sqrt {-c^2 d-e}}\right )}{2 \sqrt {-d} \sqrt {e}}+\frac {(a+b \text {arccosh}(c x))^2 \log \left (1-\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}+\sqrt {-c^2 d-e}}\right )}{2 \sqrt {-d} \sqrt {e}}-\frac {(a+b \text {arccosh}(c x))^2 \log \left (1+\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}+\sqrt {-c^2 d-e}}\right )}{2 \sqrt {-d} \sqrt {e}}-\frac {b (a+b \text {arccosh}(c x)) \operatorname {PolyLog}\left (2,-\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}-\sqrt {-c^2 d-e}}\right )}{\sqrt {-d} \sqrt {e}}+\frac {b (a+b \text {arccosh}(c x)) \operatorname {PolyLog}\left (2,\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}-\sqrt {-c^2 d-e}}\right )}{\sqrt {-d} \sqrt {e}}-\frac {b (a+b \text {arccosh}(c x)) \operatorname {PolyLog}\left (2,-\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}+\sqrt {-c^2 d-e}}\right )}{\sqrt {-d} \sqrt {e}}+\frac {b (a+b \text {arccosh}(c x)) \operatorname {PolyLog}\left (2,\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}+\sqrt {-c^2 d-e}}\right )}{\sqrt {-d} \sqrt {e}}-\frac {b^2 \text {Subst}\left (\int \frac {\operatorname {PolyLog}\left (2,\frac {\sqrt {e} x}{c \sqrt {-d}-\sqrt {-c^2 d-e}}\right )}{x} \, dx,x,e^{\text {arccosh}(c x)}\right )}{\sqrt {-d} \sqrt {e}}+\frac {b^2 \text {Subst}\left (\int \frac {\operatorname {PolyLog}\left (2,\frac {\sqrt {e} x}{-c \sqrt {-d}+\sqrt {-c^2 d-e}}\right )}{x} \, dx,x,e^{\text {arccosh}(c x)}\right )}{\sqrt {-d} \sqrt {e}}+\frac {b^2 \text {Subst}\left (\int \frac {\operatorname {PolyLog}\left (2,-\frac {\sqrt {e} x}{c \sqrt {-d}+\sqrt {-c^2 d-e}}\right )}{x} \, dx,x,e^{\text {arccosh}(c x)}\right )}{\sqrt {-d} \sqrt {e}}-\frac {b^2 \text {Subst}\left (\int \frac {\operatorname {PolyLog}\left (2,\frac {\sqrt {e} x}{c \sqrt {-d}+\sqrt {-c^2 d-e}}\right )}{x} \, dx,x,e^{\text {arccosh}(c x)}\right )}{\sqrt {-d} \sqrt {e}} \\ & = \frac {(a+b \text {arccosh}(c x))^2 \log \left (1-\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}-\sqrt {-c^2 d-e}}\right )}{2 \sqrt {-d} \sqrt {e}}-\frac {(a+b \text {arccosh}(c x))^2 \log \left (1+\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}-\sqrt {-c^2 d-e}}\right )}{2 \sqrt {-d} \sqrt {e}}+\frac {(a+b \text {arccosh}(c x))^2 \log \left (1-\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}+\sqrt {-c^2 d-e}}\right )}{2 \sqrt {-d} \sqrt {e}}-\frac {(a+b \text {arccosh}(c x))^2 \log \left (1+\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}+\sqrt {-c^2 d-e}}\right )}{2 \sqrt {-d} \sqrt {e}}-\frac {b (a+b \text {arccosh}(c x)) \operatorname {PolyLog}\left (2,-\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}-\sqrt {-c^2 d-e}}\right )}{\sqrt {-d} \sqrt {e}}+\frac {b (a+b \text {arccosh}(c x)) \operatorname {PolyLog}\left (2,\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}-\sqrt {-c^2 d-e}}\right )}{\sqrt {-d} \sqrt {e}}-\frac {b (a+b \text {arccosh}(c x)) \operatorname {PolyLog}\left (2,-\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}+\sqrt {-c^2 d-e}}\right )}{\sqrt {-d} \sqrt {e}}+\frac {b (a+b \text {arccosh}(c x)) \operatorname {PolyLog}\left (2,\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}+\sqrt {-c^2 d-e}}\right )}{\sqrt {-d} \sqrt {e}}+\frac {b^2 \operatorname {PolyLog}\left (3,-\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}-\sqrt {-c^2 d-e}}\right )}{\sqrt {-d} \sqrt {e}}-\frac {b^2 \operatorname {PolyLog}\left (3,\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}-\sqrt {-c^2 d-e}}\right )}{\sqrt {-d} \sqrt {e}}+\frac {b^2 \operatorname {PolyLog}\left (3,-\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}+\sqrt {-c^2 d-e}}\right )}{\sqrt {-d} \sqrt {e}}-\frac {b^2 \operatorname {PolyLog}\left (3,\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}+\sqrt {-c^2 d-e}}\right )}{\sqrt {-d} \sqrt {e}} \\ \end{align*}

Mathematica [A] (verified)

Time = 0.43 (sec) , antiderivative size = 623, normalized size of antiderivative = 0.82 \[ \int \frac {(a+b \text {arccosh}(c x))^2}{d+e x^2} \, dx=\frac {-(a+b \text {arccosh}(c x))^2 \log \left (1+\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}-\sqrt {-c^2 d-e}}\right )+(a+b \text {arccosh}(c x))^2 \log \left (1+\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{-c \sqrt {-d}+\sqrt {-c^2 d-e}}\right )+(a+b \text {arccosh}(c x))^2 \log \left (1-\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}+\sqrt {-c^2 d-e}}\right )-(a+b \text {arccosh}(c x))^2 \log \left (1+\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}+\sqrt {-c^2 d-e}}\right )+2 b (a+b \text {arccosh}(c x)) \operatorname {PolyLog}\left (2,\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}-\sqrt {-c^2 d-e}}\right )-2 b (a+b \text {arccosh}(c x)) \operatorname {PolyLog}\left (2,\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{-c \sqrt {-d}+\sqrt {-c^2 d-e}}\right )-2 b (a+b \text {arccosh}(c x)) \operatorname {PolyLog}\left (2,-\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}+\sqrt {-c^2 d-e}}\right )+2 b (a+b \text {arccosh}(c x)) \operatorname {PolyLog}\left (2,\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}+\sqrt {-c^2 d-e}}\right )-2 b^2 \operatorname {PolyLog}\left (3,\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}-\sqrt {-c^2 d-e}}\right )+2 b^2 \operatorname {PolyLog}\left (3,\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{-c \sqrt {-d}+\sqrt {-c^2 d-e}}\right )+2 b^2 \operatorname {PolyLog}\left (3,-\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}+\sqrt {-c^2 d-e}}\right )-2 b^2 \operatorname {PolyLog}\left (3,\frac {\sqrt {e} e^{\text {arccosh}(c x)}}{c \sqrt {-d}+\sqrt {-c^2 d-e}}\right )}{2 \sqrt {-d} \sqrt {e}} \]

[In]

Integrate[(a + b*ArcCosh[c*x])^2/(d + e*x^2),x]

[Out]

(-((a + b*ArcCosh[c*x])^2*Log[1 + (Sqrt[e]*E^ArcCosh[c*x])/(c*Sqrt[-d] - Sqrt[-(c^2*d) - e])]) + (a + b*ArcCos
h[c*x])^2*Log[1 + (Sqrt[e]*E^ArcCosh[c*x])/(-(c*Sqrt[-d]) + Sqrt[-(c^2*d) - e])] + (a + b*ArcCosh[c*x])^2*Log[
1 - (Sqrt[e]*E^ArcCosh[c*x])/(c*Sqrt[-d] + Sqrt[-(c^2*d) - e])] - (a + b*ArcCosh[c*x])^2*Log[1 + (Sqrt[e]*E^Ar
cCosh[c*x])/(c*Sqrt[-d] + Sqrt[-(c^2*d) - e])] + 2*b*(a + b*ArcCosh[c*x])*PolyLog[2, (Sqrt[e]*E^ArcCosh[c*x])/
(c*Sqrt[-d] - Sqrt[-(c^2*d) - e])] - 2*b*(a + b*ArcCosh[c*x])*PolyLog[2, (Sqrt[e]*E^ArcCosh[c*x])/(-(c*Sqrt[-d
]) + Sqrt[-(c^2*d) - e])] - 2*b*(a + b*ArcCosh[c*x])*PolyLog[2, -((Sqrt[e]*E^ArcCosh[c*x])/(c*Sqrt[-d] + Sqrt[
-(c^2*d) - e]))] + 2*b*(a + b*ArcCosh[c*x])*PolyLog[2, (Sqrt[e]*E^ArcCosh[c*x])/(c*Sqrt[-d] + Sqrt[-(c^2*d) -
e])] - 2*b^2*PolyLog[3, (Sqrt[e]*E^ArcCosh[c*x])/(c*Sqrt[-d] - Sqrt[-(c^2*d) - e])] + 2*b^2*PolyLog[3, (Sqrt[e
]*E^ArcCosh[c*x])/(-(c*Sqrt[-d]) + Sqrt[-(c^2*d) - e])] + 2*b^2*PolyLog[3, -((Sqrt[e]*E^ArcCosh[c*x])/(c*Sqrt[
-d] + Sqrt[-(c^2*d) - e]))] - 2*b^2*PolyLog[3, (Sqrt[e]*E^ArcCosh[c*x])/(c*Sqrt[-d] + Sqrt[-(c^2*d) - e])])/(2
*Sqrt[-d]*Sqrt[e])

Maple [F]

\[\int \frac {\left (a +b \,\operatorname {arccosh}\left (c x \right )\right )^{2}}{e \,x^{2}+d}d x\]

[In]

int((a+b*arccosh(c*x))^2/(e*x^2+d),x)

[Out]

int((a+b*arccosh(c*x))^2/(e*x^2+d),x)

Fricas [F]

\[ \int \frac {(a+b \text {arccosh}(c x))^2}{d+e x^2} \, dx=\int { \frac {{\left (b \operatorname {arcosh}\left (c x\right ) + a\right )}^{2}}{e x^{2} + d} \,d x } \]

[In]

integrate((a+b*arccosh(c*x))^2/(e*x^2+d),x, algorithm="fricas")

[Out]

integral((b^2*arccosh(c*x)^2 + 2*a*b*arccosh(c*x) + a^2)/(e*x^2 + d), x)

Sympy [F]

\[ \int \frac {(a+b \text {arccosh}(c x))^2}{d+e x^2} \, dx=\int \frac {\left (a + b \operatorname {acosh}{\left (c x \right )}\right )^{2}}{d + e x^{2}}\, dx \]

[In]

integrate((a+b*acosh(c*x))**2/(e*x**2+d),x)

[Out]

Integral((a + b*acosh(c*x))**2/(d + e*x**2), x)

Maxima [F(-2)]

Exception generated. \[ \int \frac {(a+b \text {arccosh}(c x))^2}{d+e x^2} \, dx=\text {Exception raised: ValueError} \]

[In]

integrate((a+b*arccosh(c*x))^2/(e*x^2+d),x, algorithm="maxima")

[Out]

Exception raised: ValueError >> Computation failed since Maxima requested additional constraints; using the 'a
ssume' command before evaluation *may* help (example of legal syntax is 'assume(e>0)', see `assume?` for more
details)Is e

Giac [F]

\[ \int \frac {(a+b \text {arccosh}(c x))^2}{d+e x^2} \, dx=\int { \frac {{\left (b \operatorname {arcosh}\left (c x\right ) + a\right )}^{2}}{e x^{2} + d} \,d x } \]

[In]

integrate((a+b*arccosh(c*x))^2/(e*x^2+d),x, algorithm="giac")

[Out]

integrate((b*arccosh(c*x) + a)^2/(e*x^2 + d), x)

Mupad [F(-1)]

Timed out. \[ \int \frac {(a+b \text {arccosh}(c x))^2}{d+e x^2} \, dx=\int \frac {{\left (a+b\,\mathrm {acosh}\left (c\,x\right )\right )}^2}{e\,x^2+d} \,d x \]

[In]

int((a + b*acosh(c*x))^2/(d + e*x^2),x)

[Out]

int((a + b*acosh(c*x))^2/(d + e*x^2), x)